package dto;

public class AttributeDTO {
	private String name;
	private String relation;
	private String alias;
	private String dataType;

	public AttributeDTO(String name) {
		this.name = name;
	}

	public AttributeDTO(String name, String relation) {
		this.name = name;
		this.relation = relation;
	}

	public AttributeDTO(String name, String relation, String alias) {
		this.name = name;
		this.relation = relation;
		this.alias = alias;
	}

	public AttributeDTO(String name, String relation, String alias, String type) {
		this.name = name;
		this.relation = relation;
		this.alias = alias;
		this.dataType = type;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setRelation(String rel) {
		this.relation = rel;
	}

	public void setAlias(String al) {
		this.alias = al;
	}

	public void setDataType(String type) {
		this.dataType = type;
	}

	public String getName() {
		return this.name;
	}

	public String getAlias() {
		return this.alias;
	}

	public String getRelation() {
		return this.relation;
	}

	public String getDataType() {
		return this.dataType;
	}
}
